#include"list.h"
#include<iostream>
using namespace std;
int main()
{
	bit::list<int> ls;
	ls.push_back(1);
	ls.push_back(2);
	ls.push_back(3);
	ls.push_back(4);
	for (auto i : ls)
	{
		cout << i;
	}
	cout << endl;
	//for (auto i = ls.begin(); i != ls.end(); i++)
	//{
	//	cout << *i;
	//}
	//cout << endl;

	ls.pop_back();
	for (auto i : ls)
	{
		cout << i;
	}
	cout << endl;

	ls.insert(++ls.begin(), 7);

	for (auto i : ls)
	{
		cout << i;
	}
	cout << endl;
	return 0;
}